How to apply a function on every row on a dataframe

join shbcf.ru